package com.cinc.mdm.modules.sequence.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cinc.mdm.modules.sequence.entity.MdmSequence;
import org.apache.ibatis.annotations.Param;

/**
 * @Description: 自增序列
 * @Author: jeecg-boot
 * @Date: 2023-08-31
 * @Version: V1.0
 */
public interface MdmSequenceMapper extends BaseMapper<MdmSequence> {

    int increaseSeqNo(@Param("seqType")String seqType, @Param("seqVal") String seqVal);

    int resetSeqNo(@Param("seqType")String seqType, @Param("seqVal") String seqVal);
}
